package com.shopcart.repository;



import java.util.Collection;

import org.springframework.data.domain.Sort;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RestResource;

import com.shopcart.domain.OrderDetail;


@RestResource(exported = false)
public interface OrderDetailRepository extends CrudRepository<OrderDetail, String> {
	Collection<OrderDetail>  findByOrderId(String id,Sort s);
}
